LGF_MergeBitsToDWord (FC / V3.0.1)


Author: Siemens Digital Industry

Short description

This function merge 32 Bits / 32 Boolean variables into one DWord variable.

Block Interface

LGF_MergeBitsToDWord (FC)
Bool  bit31 Ret_Val  DWord
    
Bool  bit30   
    
Bool  bit29   
    
Bool  bit28   
    
Bool  bit27   
    
Bool  bit26   
    
Bool  bit25   
    
Bool  bit24   
    
Bool  bit23   
    
Bool  bit22   
    
Bool  bit21   
    
Bool  bit20   
    
Bool  bit19   
    
Bool  bit18   
    
Bool  bit17   
    
Bool  bit16   
    
Bool  bit15   
    
Bool  bit14   
    
Bool  bit13   
    
Bool  bit12   
    
Bool  bit11   
    
Bool  bit10   
    
Bool  bit9   
    
Bool  bit8   
    
Bool  bit7   
    
Bool  bit6   
    
Bool  bit5   
    
Bool  bit4   
    
Bool  bit3   
    
Bool  bit2   
    
Bool  bit1   
    
Bool  bit0   
    
   

Input parameter

IdentifierData typeDescription
bit31BoolInput Bit 31 - MSB
bit30BoolInput Bit 30
bit29BoolInput Bit 29
bit28BoolInput Bit 28
bit27BoolInput Bit 27
bit26BoolInput Bit 26
bit25BoolInput Bit 25
bit24BoolInput Bit 24
bit23BoolInput Bit 23
bit22BoolInput Bit 22
bit21BoolInput Bit 21
bit20BoolInput Bit 20
bit19BoolInput Bit 19
bit18BoolInput Bit 18
bit17BoolInput Bit 17
bit16BoolInput Bit 16
bit15BoolInput Bit 15
bit14BoolInput Bit 14
bit13BoolInput Bit 13
bit12BoolInput Bit 12
bit11BoolInput Bit 11
bit10BoolInput Bit 10
bit9BoolInput Bit 9
bit8BoolInput Bit 8
bit7BoolInput Bit 7
bit6BoolInput Bit 6
bit5BoolInput Bit 5
bit4BoolInput Bit 4
bit3BoolInput Bit 3
bit2BoolInput Bit 2
bit1BoolInput Bit 1
bit0BoolInput Bit 0 - LSB

Output parameter

IdentifierData typeDescription
Ret_ValDWordComposite Bit sequence stored as DWord variable

Change log

Version & DateChange description
01.00.00Simatic Systems Support
20.06.2019First release
03.00.00Simatic Systems Support
23.04.2020Set version to V3.0.0
harmonize the version of the whole library
03.00.01Simatic Systems Support
22.02.2021Insert documentation